package com.gcu.service.impl;

import com.gcu.Mapper.rentMapper;
import com.gcu.pojo.userRent;
import com.gcu.service.rentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class rentServiceImpl implements rentService {
    @Autowired
    rentMapper rentmapper;

    @Override
    public List<userRent> selectallinfo() {
        return rentmapper.selectList(null);
    }
}
